/*
 * Draggable.js
 * 08.14.2009
 * JaySmith024@gmail.com
 * 
 * HTML5 DnD Specs:
 * @doc : "http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#dnd",
 */

;
namespace("w3c.DataTransfer", {
	dropEffect : "none", //none, copy, link, and move.
	effectAllowed : "uninitialized", 
	types : {},
	files : [],
	
	clearData : function(mimeType){
		if (mimeType) {
			this.types[mimeType] = null;
			delete this.types[mimeType];
		}
		else {
			this.types = {};
		}
	},
	
	setData : function(mimeType, data){
		this.types[mimeType] = data;
	},
	
	getData : function(mimeType){
		return (this.types[mimeType]||"")
	},
	
	
	setDragImage : function(element, x, y){
		this.element = element;
	},
	
	addElement : function(element){}
});
